#include<bits/stdc++.h>
#define N 100005
using namespace std;
int main()
{
    int n,m;
    freopen("arena.in","r",stdin);
    freopen("arena.out","w",stdout);
    cin>>n>>m;
    while(m--)
    {
        cout<<1<<endl;
    }
    return 0;
}
